﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WY.WebApi.Models.Request
{
    /// <summary>
    /// 登录请求参数
    /// </summary>
    public class LoginRequest
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "请填写用户名")]
        public string username { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        [Required(ErrorMessage = "请填写密码")]
        public string password { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        public string validateCode { get; set; }
    }
}